package com.enjoyor.health.HGPT.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author enjoyor
 * @since 2023-10-18
 */
@TableName("report_record")
@ApiModel(value = "ReportRecord对象", description = "")
public class ReportRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("报告号")
    private String reportNumber;

    @ApiModelProperty("所属用户")
    private String userId;

    @ApiModelProperty("是否为简洁版")
    private Boolean isSimple;

    @ApiModelProperty("体检类型")
    private Integer reportType;

    @ApiModelProperty("体检包id")
    private String examPackageId;

    @ApiModelProperty("版本号，eg.2023-07-03-001")
    private String version;

    @ApiModelProperty("检测地点")
    private String location;

    @ApiModelProperty("检测时间")
    private LocalDateTime inspectTime;

    @ApiModelProperty("检测结果（疾病）")
    private String resultSimple;

    @ApiModelProperty("检测结果（分数）")
    private Integer resultScore;

    @ApiModelProperty("入库时间")
    private LocalDateTime storageTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getReportNumber() {
        return reportNumber;
    }

    public void setReportNumber(String reportNumber) {
        this.reportNumber = reportNumber;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Boolean getIsSimple() {
        return isSimple;
    }

    public void setIsSimple(Boolean isSimple) {
        this.isSimple = isSimple;
    }

    public Integer getReportType() {
        return reportType;
    }

    public void setReportType(Integer reportType) {
        this.reportType = reportType;
    }

    public String getExamPackageId() {
        return examPackageId;
    }

    public void setExamPackageId(String examPackageId) {
        this.examPackageId = examPackageId;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public LocalDateTime getInspectTime() {
        return inspectTime;
    }

    public void setInspectTime(LocalDateTime inspectTime) {
        this.inspectTime = inspectTime;
    }

    public String getResultSimple() {
        return resultSimple;
    }

    public void setResultSimple(String resultSimple) {
        this.resultSimple = resultSimple;
    }

    public Integer getResultScore() {
        return resultScore;
    }

    public void setResultScore(Integer resultScore) {
        this.resultScore = resultScore;
    }

    public LocalDateTime getStorageTime() {
        return storageTime;
    }

    public void setStorageTime(LocalDateTime storageTime) {
        this.storageTime = storageTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "ReportRecord{" +
            "id = " + id +
            ", reportNumber = " + reportNumber +
            ", userId = " + userId +
            ", isSimple = " + isSimple +
            ", reportType = " + reportType +
            ", examPackageId = " + examPackageId +
            ", version = " + version +
            ", location = " + location +
            ", inspectTime = " + inspectTime +
            ", resultSimple = " + resultSimple +
            ", resultScore = " + resultScore +
            ", storageTime = " + storageTime +
            ", updateTime = " + updateTime +
        "}";
    }
}
